package io.github.cunyu1943;

/**
 * Created with IntelliJ IDEA.
 *
 * @Package : io.github.cunyu1943
 * @ClassName : SevenPass.java
 * @CreateTime : 2022/11/27 21:24
 * @Version : 1.0
 * @Author : 村雨遥
 * @Email : 747731461@qq.com
 * @公众号 : 村雨遥
 * @Website : https://cunyu1943.github.io/JavaPark
 * @Description : 逢七必过
 */
public class SevenPass {
    public static void main(String[] args) {
        for (int i = 1; i <= 100; i++) {
            int ge = i % 10;
            int shi = i / 10;

            if (i % 7 == 0 || ge == 7 || shi == 7) {
                System.out.println("过");
            } else {
                System.out.println(i);
            }
        }
    }
}
